#!/bin/bash
module=bpk-data-piepline
TZ='Asia/Shanghai';
export TZ

BUILD_NUMBER=v1.0_$(date +%Y%m%d%H%M)

docker build -t registry.jy.com/rancher/$module:$BUILD_NUMBER
docker push registry.jy.com/rancher/$module:$BUILD_NUMBER

echo registry.jy.com/rancher/$module:$BUILD_NUMBER